﻿namespace OmniKits.Windows.Interop
{
    partial class User32
    {
        public const int GWL_STYLE = (-16);
        public const int GWL_EXSTYLE = (-20);
        public const int GWLP_WNDPROC = (-4);
        public const int GWLP_HINSTANCE = (-6);
        public const int GWLP_HWNDPARENT = (-8);
        public const int GWLP_USERDATA = (-21);
        public const int GWLP_ID = (-12);
    }
}

namespace OmniKits.Windows.Interop
{
    using static User32;

    public enum WindowLongIndex : int
    {
        ExStyle = GWL_EXSTYLE,
        HInstance = GWLP_HINSTANCE,
        OwnerHandle = GWLP_HWNDPARENT,
        ID = GWLP_ID,
        Style = GWL_STYLE,
        UserDataPtr = GWLP_USERDATA,
        WindowProcPtr = GWLP_WNDPROC,
    }
}
